<%@page import="java.net.URLEncoder"%>
<%@page import="java.net.URLDecoder"%>
<%@page import="java.sql.ResultSet"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="database" scope="request"
    class="accessibleworldsdatabase.AccessibleWorldsDatabaseJavaBeans" />
<jsp:useBean id="des" scope="request"
    class="accessibleworldsdes.AccessibleWorldsDESJavaBeans" />
<%
    database.connect(des.decryptString(des.getServiceSecretKey(),
            database.getEncryptedPassword()));
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login Page</title>
</head>
<body>


    <form action="UserPage.jsp" method="post" id="login">
        <div class="center">
            <h2>Login</h2>
            <br>
            <b>Username</b> <input type="text" name="username"
                value="example@gmail.com" maxlength=25 align="right"> <br>
            <b>Password&nbsp;</b> <input type="password" name="password"
                value="myPassword" maxlength=25 align="right"> <br>
            <input type="submit" value="Login" class="button"
                style="margin: auto">

        </div>

    </form>


</body>

</html>